import request from 'umi-request';

export async function getTables(params) {
  return request('/api/tables', {
    method: 'post',
    data: params,
  })
}
export async function getdb(params) {
  return request('/api/db', {
    method: 'post',
    data: params,
  })
}
export async function save(params) {
  return request('/api/save', {
    method: 'post',
    data: params,
  })
}
